<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/AnadoluBazaarGiris.Master" CodeBehind="ozelmesaj.aspx.cs" Inherits="OnlineAnadolu.ozelmesaj" %>
<%@ PreviousPageType VirtualPath="~/kullanicilar.aspx"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 353px; height: 119px">
        <tr>
            <td style="width: 155px">
                <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Medium" Text="Kime"
                    Width="81px"></asp:Label></td>
            <td style="width: 184px">
                <asp:TextBox ID="tb_receiver" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tb_receiver"
                    ErrorMessage="*" ValidationGroup="gonder"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 155px">
                <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="Medium" Text="Konu"
                    Width="80px"></asp:Label></td>
            <td style="width: 184px">
                <asp:TextBox ID="tb_subject" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tb_subject"
                    ErrorMessage="*" Width="26px" ValidationGroup="gonder"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 155px; height: 79px">
                <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="Medium" Text="Mesaj"
                    Width="79px"></asp:Label></td>
            <td style="width: 184px; height: 79px">
                <asp:TextBox ID="tb_message" runat="server" Height="64px" TextMode="MultiLine" Width="179px" MaxLength="1000"></asp:TextBox></td>
            <td style="height: 79px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tb_message"
                    ErrorMessage="*" ValidationGroup="gonder"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 155px; height: 79px">
                <asp:Button ID="bt_send" runat="server" OnClick="bt_send_Click" Text="Gonder" Width="95px" ValidationGroup="gonder" /></td>
            <td style="width: 184px; height: 79px">
                <asp:Label ID="lb_err" runat="server" Width="105px"></asp:Label></td>
            <td style="height: 79px">
            </td>
        </tr>
    </table>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:shoppingConnectionString2 %>" SelectCommand="SELECT * FROM [sendmessage]">
    </asp:SqlDataSource>
    <asp:Button ID="bt_Kullanicilar" runat="server" OnClick="bt_Kullanicilar_Click" Text="Kullanicilar" />
</asp:Content>
